package com.demo.rest.user;

import com.demo.modules.user.vo.UserVO;
import com.demo.services.user.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Date;


@RestController
public class UsersControllers {

    @GetMapping("/getUserInfo")
    public UserVO getUserInfo(){

        return new UserVO();
    }

    @GetMapping("/hello")
    public String hello1(){

        return new Date().toString();
    }
}
